import { Module, forwardRef } from '@nestjs/common';
import { DictModule } from '../dict/dict.module';
import { DictTypeController } from './dict_type.controller';
import { DictTypeService } from './dict_type.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Dict } from '../dict/entities/dict.entity';
import { DictType } from './entities/dict_type.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Dict,DictType]),
    forwardRef(() => DictModule)
  ],
  controllers: [DictTypeController],
  providers: [DictTypeService]
})
export class DictTypeModule { }
